package com.zhengke.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.zhengke.dao.AccountCenterDao;
import com.zhengke.pojo.Order;
import com.zhengke.pojo.SysDictionaryItem;
import com.zhengke.pojo.TvUserIntegralLog;
import com.zhengke.pojo.archie.TvUser;
@Service
public class AccountCenterServiceImpl implements AccountCenterService {
	@Autowired
	AccountCenterDao dao;
	@Override
	public List<Order> querOrder(String userId) {
		if(userId!=null&&!"".equals(userId)) {
			List<Order> list = dao.querOrder(userId);
			return  list;
		}
		return null;
	}
	@Override
	public List<TvUserIntegralLog> queryIntegerList(String tvnNo) {
		return dao.queryIntegerList(tvnNo);
	}
	@Override
	public TvUser queryTvUser(String tvnNo) {
		return dao.queryTvUser(tvnNo);
	}
	@Override
	public List<SysDictionaryItem> queryDicItem() {
		return dao.queryDicItem();
	}
	@Override
	public void updTime(TvUser tvUser) {
		dao.updTime(tvUser);
	}

}
